package com.naizhuai.ui.entity;

import com.google.gson.Gson;
import com.naizhuai.util.AESCrypt;
import com.naizhuai.util.NaizhuAILog;

import java.io.Serializable;
import java.security.GeneralSecurityException;

/**
 * 二维码信息类
 * Created by code_han on 2018/4/18.
 */

public class QRCodeMsgBean implements Serializable {

    public static final String QRCode_MSG_KEY = "qrcode_key";

    public static final String USER_JOIN_TYPE = "user_type";
    public static final String COMPANY_JOIN_TYPE = "company_type";
    public static final String DEPARTMENT_JOIN_TYPE = "department_type";


    private String scanType;
    private PersonMsg person;
    private GroupMsg group;

    public String getScanType() {
        return scanType;
    }

    public void setScanType(String scanType) {
        this.scanType = scanType;
    }

    public PersonMsg getPerson() {
        return person;
    }

    public void setPerson(PersonMsg person) {
        this.person = person;
    }

    public GroupMsg getGroup() {
        return group;
    }

    public void setGroup(GroupMsg group) {
        this.group = group;
    }

    public static class PersonMsg implements Serializable {

        private String userId;
        private String userName;
        private String UserPhoneNumber;
        private String userThumb;

        public PersonMsg() {
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPhoneNumber() {
            return UserPhoneNumber;
        }

        public void setUserPhoneNumber(String userPhoneNumber) {
            UserPhoneNumber = userPhoneNumber;
        }

        public String getUserThumb() {
            return userThumb;
        }

        public void setUserThumb(String userThumb) {
            this.userThumb = userThumb;
        }
    }

    public static class GroupMsg implements Serializable {
        private String companyLogo;
        private String companyName;
        private String companyId;

        private String departChargeThumbStr;
        private String departName;
        private String departId;

        public GroupMsg() {
        }

        public String getCompanyLogo() {
            return companyLogo;
        }

        public void setCompanyLogo(String companyLogo) {
            this.companyLogo = companyLogo;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public String getCompanyId() {
            return companyId;
        }

        public void setCompanyId(String companyId) {
            this.companyId = companyId;
        }

        public String getDepartChargeThumbStr() {
            return departChargeThumbStr;
        }

        public void setDepartChargeThumbStr(String departChargeThumbStr) {
            this.departChargeThumbStr = departChargeThumbStr;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getDepartId() {
            return departId;
        }

        public void setDepartId(String departId) {
            this.departId = departId;
        }
    }

}
